package demo10;

//两个栈模拟队列
public class StackQueueMain {
    public static void main(String[] args){
        StackQueue1 stack=new StackQueue1();
        stack.push(9);
        stack.push(6);
        stack.push(9);
        stack.push(8);
        stack.push(0);
        int val=stack.pop();
        System.out.println("队头元素为："+val);
    }
}
